import Request from '@/utils/request';
const request = new Request({})

// 获取股票派息时间数据
export function GET_STOCK_DATA <T> (url: string) : Promise<T> {
  return request.get({url})
}

// 获取股票派息历史数据
export function GET_HISTORY_DATA <T> (url: string) : Promise<T> {
  return request.get({url})
}

// 获取两市所有股票数据
export function GET_STOCK_ALL_DATA <T> (url: string) : Promise<T> {
  return request.get({url})
}